package com.isoft.sjhy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.isoft.sjhy.model.Complaint;

public interface ComplaintService extends IService<Complaint> {


    PageInfo<Complaint> findComplaintAll(int page,int pagesise,Complaint complaint);

    IPage<Complaint> findListByPage(Integer page, Integer pageCount);

    int add(Complaint complaint);

    int delete(Long id);

    int updateData(Complaint complaint);

    Complaint findById(Long id);
}
